355eaf9dfbaa1035a9dc8e17f2ceb92b5f620ff7,org.eclipse.jface.text/src/org/eclipse/jface/text/AbstractInformationControl.java,AbstractInformationControl,AbstractInformationControl,#Shell#number#String#ToolBarManager#,173
Before Change
fShell= new Shell(parentShell, shellStyle);
Display display= fShell.getDisplay();
Color foreground= display.getSystemColor(SWT.COLOR_INFO_FOREGROUND);
Color background= display.getSystemColor(SWT.COLOR_INFO_BACKGROUND);
setColor(fShell, foreground, background);
GridLayout layout= new GridLayout(1, false);
After Change
if (foreground == null) {
foreground = display.getSystemColor(SWT.COLOR_INFO_FOREGROUND);
}
Color background= colorRegistry.get("org.eclipse.ui.workbench.HOVER_BACKGROUND"); //$NON-NLS-1$
if (background == null) {
background = display.getSystemColor(SWT.COLOR_INFO_BACKGROUND);
}
setColor(fShell, foreground, background);